Continue the event handling cleanup:
authorRichard Hult <richard@imendio.com>
Sat, 30 Jun 2007 21:50:06 +0000 (21:50 +0000)
committerRichard Hult <rhult@src.gnome.org>
Sat, 30 Jun 2007 21:50:06 +0000 (21:50 +0000)
commit460833b2bc1c739e03bf8073d6e3c47dd6e3525d
tree37cc4c5c98b19dd9e88733420f5bacd0bfe5464b
parentee283b058af94ce0b3812951954d826e9e77dcd9
Continue the event handling cleanup:

2007-06-30  Richard Hult  <richard@imendio.com>

Continue the event handling cleanup:

* gdk/quartz/gdkevents-quartz.c: (synthesize_crossing_events):
Don't do anything if the old and new windows are the same,
simplifies the callers.
(find_mouse_window_for_ns_event): Always return a window (root
instead of NULL). Remove unneccessary check for the current mouse
window being NULL, that was a workaround for a now fixed
bug. Convert to root coordinates if we don't find a window.
(synthesize_crossing_events_for_ns_event): Simplify and add
comment.

svn path=/trunk/; revision=18316
ChangeLog
gdk/quartz/gdkevents-quartz.c